package com.wutong.teacher_server.controller;

import com.baidu.aip.face.AipFace;
import com.wutong.common_server.result.Response;
import com.wutong.teacher_server.utils.faceApiUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/faceApi")
public class FaceApiController {


    @GetMapping("/fadeRegister")
    public Response fadeRegister(){

        AipFace client = faceApiUtil.createClient();
        faceApiUtil.sample(client,"");
        return null;
    }

}
